package com.joysuch.wwyt.patrol.enums;

/**
 * @author zero
 * @since 2022/2/28 19:35
 */
public enum TriggerCondition {
    MISSED_DETECTION(1,"漏检"),
    FIND_EXCEPTION(2,"发现异常"),
    SUPPLEMENTARY_INSPECTION(3,"补检"),
    SIGN_IN_ABNORMAL(4,"签到异常")
    ;

    private Integer code;
    
    private String value;

    TriggerCondition(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
